package com.sky.sky_server.service;

import java.time.LocalDate;

import com.sky.sky_pojo.dto.OrderReportVO;
import com.sky.sky_pojo.dto.TOP10VO;
import com.sky.sky_pojo.dto.TurnoverReportVO;
import com.sky.sky_pojo.dto.UserReportVO;

import jakarta.servlet.http.HttpServletResponse;

public interface ReportService {

    /**
     * 营业额统计
     */
    TurnoverReportVO turnoverStatistics(LocalDate begin, LocalDate end);

    /**
     * 用户统计
     */
    UserReportVO userStatistics(LocalDate begin, LocalDate end);

    /**
     * 订单统计
     */
    OrderReportVO orderStatistics(LocalDate begin, LocalDate end);

    /**
     * 菜品销售排名
     */
    TOP10VO top10(LocalDate begin, LocalDate end);

    /**
     * 导出运营数据报表
     */
    void exportBusinessData(HttpServletResponse response);
}